#include "addpage.h"
#include "ui_addpage.h"
#include "networkcontroller.h"

AddPage::AddPage(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::AddPage)
{
    ui->setupUi(this);
}

AddPage::~AddPage()
{
    delete ui;
}

void AddPage::on_pushButton_4_clicked()
{
    NetWorkController::getInstance()->sendAddFrdMessage(ui->lineEdit->text());
}

